Assignments 您所在的位置:网站首页 python programming exercise Assignments

Assignments

2023-02-06 05:12| 来源: 网络整理| 查看: 265

If you are working on your own machine, you will probably need to install Python. We will be using the standard Python software, available here. You should download and install version 2.6.x, not 2.7.x or 3.x. All MIT Course 6 classes currently use a version of Python 2.6.

ASSN # ASSIGNMENTS SUPPORTING FILES

Homework 1 Handout (PDF)

Written exercises (PDF)

Code template (PY)

Homework 2 Handout (PDF)

Written exercises (PDF)

Code template (PY)

nims.py (PY)

strings_and_lists.py (PY)

Project 1: Hangman Handout (PDF)

hangman_template.py (PY)

words.txt (TXT)

Optional extension:

hangman_lib.py (PY)

hangman_lib_demo.py (PY)

Homework 3 Handout (PDF)

Written exercises (PDF)

Code template (PY)

Homework 4 Handout (PDF)

Written exercises (PDF)

Graphics module documentation (PDF)

graphics.py (PY) — be sure to save this in the same directory where your code is saved!

wheel.py (PY)

rgb.txt (TXT)

The graphics.py package and documentation are courtesy of John Zelle, and are used with permission.

Project 2: Conway’s game of life Handout (PDF)

game_of_life_template.py (PY) — download and save as game_of_life.py; be sure to save in the same directory as graphics.py

Final project: Tetris

Handout (PDF)

tetris_template.py (PY) — Download and save it in the same directory as graphics.py. Please edit this file, and place your code in the sections that say “YOUR CODE HERE”.



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有